//
//  SinaAccountModel.h
//  oc微博
//
//  Created by 安陆与 on 16/1/18.
//  Copyright © 2016年 安陆与. All rights reserved.
//

#import <Foundation/Foundation.h>

//"access_token" = "2.00rGiE3G1rJETEbef2e3f9e8e13LdD";
//"expires_in" = 101986;
//"remind_in" = 101986;
//uid = 5822999257;

@interface SinaAccountModel : NSObject

@property (nonatomic,copy) NSString *access_token;
//声明周期  单位是秒数
@property (nonatomic,copy) NSString *expires_in;
//用户uid
@property (nonatomic,copy) NSString *uid;
//用户昵称
@property (nonatomic,copy) NSString *screen_name;
//用户的头像
@property (nonatomic,copy) NSString *profile_image_url;


+(SinaAccountModel *)accountWithDict:(NSDictionary *)dict;
//保存方法
-(void)saveInfo;
//读取方法
+(instancetype)readInfo;
@end
